﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cricket.LinqModel
{
    public partial class AdminCredential
    {
        private IDataRepository _dataObject;
        public AdminCredential(IDataRepository dataObject)
            : this()
        {
            _dataObject = dataObject;
        }
         public void Create()
         {
             _dataObject.CreateAdminCredential(this);
         }
         public void DeleteAdminCredentail()
         {
             _dataObject.DeleteAdminCredentail(this);
         }
         public void UpdateAdminCredentials()
         {
             _dataObject.UpdateAdminCredentials(this);
         }
         public void UpdateAdminCredentialsMyProfile()
         {
             _dataObject.UpdateAdminCredentials(this);
         }
    }
}
